package com.hnichr.ump.common.plan.service;

import com.hnichr.ump.common.plan.entity.PlanSchedules;
import com.hnichr.ump.common.plan.vo.PlanSchedulesVo;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.system.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface PlanSchedulesService extends BaseService<PlanSchedules> {
    List<PlanSchedules> list(Criteria c);

    Page<PlanSchedules> listPage(Pageable page, Criteria c);

    PlanSchedules getById(String id);

    PlanSchedules save(PlanSchedulesVo scheduleVo);

    PlanSchedules edit(PlanSchedulesVo scheduleVo);

    void remove(String ids);

    void getContents(List<PlanSchedules> ls);

}
